<template>
  <div>
    <el-menu
      style="width: 200px; min-height: calc(100vh - 50px) ; text-align: center;"
      active-text-color="#ffd04b"
      background-color="#545c64"
      class="el-menu-vertical-demo"
      default-active="1"
      text-color="#fff"
      @open="handleOpen"
      @close="handleClose"
    >
      <el-menu-item index="1" @click="$router.push('/')">
      <el-icon><UserFilled /></el-icon>
        <span>学生管理</span>
      </el-menu-item>
      <el-menu-item index="2" @click="$router.push('/teacher')">
      <el-icon><UserFilled /></el-icon>
        <span>教师管理</span>
      </el-menu-item>
      <el-menu-item index="3" @click="$router.push('/course')">
      <el-icon><Tools /></el-icon>
        <span>课程管理</span>
      </el-menu-item>
      <el-menu-item index="4" @click="$router.push('/courseStudent')">
      <el-icon><Tools /></el-icon>
        <span>选课管理</span>
      </el-menu-item>
    </el-menu>
  </div>
</template>

<script>
export default {};
</script>

<style>
</style>